{% extends 'admin/layout.njk' %}

{% block css %}
  <link href="/_admin/css/add_blog.css" rel="stylesheet">
{% endblock %}

{% block main %}
  <div id="add-blog">
    <div class="tool-bar">
      <i class="fa fa-eraser" title="empty content"></i>
      <i class="fa fa-image" title="upload image"></i>
      <i class="fa fa-save" title="save"></i>
    </div>
    <div class="line-number-bar"></div>
    <textarea>{{data.markdownContent}}</textarea>
  </div>
  {% include "admin/modal.njk" %}
{% endblock %}

{% block js %}
  <script src="/_admin/js/Parser.js"></script>
  <script src="/_admin/js/add_blog.js"></script>
{% endblock %}